package com.zxjbyte.yiyi.module.system.domain.param;

import com.zxjbyte.yiyi.framework.common.constant.Constant;
import com.zxjbyte.yiyi.framework.common.domain.api.PageQuery;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author zhangxingjia
 * @Date 2024/9/14 17:04
 * @Version: 1.0
 */
@Data
@Schema(description = "系统配置列表请求结构体")
public class DevConfigListParam extends PageQuery {

    @Parameter(description = "配置键")
    private String configKey;

    @Parameter(description = "分类")
    private String category;

    @Parameter(description = "创建开始时间")
    @DateTimeFormat(pattern = Constant.PATTERN_DATETIME)
    private Date startTime;

    @Parameter(description = "创建结束时间")
    @DateTimeFormat(pattern = Constant.PATTERN_DATETIME)
    private Date endTime;
}
